package com.ruoyi.be.service;

import java.util.List;
import com.ruoyi.be.domain.MedicalCpoeSickroom;
import org.springframework.stereotype.Repository;

/**
 * 病房记录Service接口
 * 
 * @author ruoyi
 * @date 2022-01-05
 */
@Repository
public interface IMedicalCpoeSickroomService 
{
    /**
     * 查询病房记录
     * 
     * @param id 病房记录主键
     * @return 病房记录
     */
    public MedicalCpoeSickroom selectMedicalCpoeSickroomById(String id);
    /**
     * 查询病房记录
     *
     * @param name 病房记录主键
     * @return 病房记录
     */
    public MedicalCpoeSickroom selectMedicalCpoeSickroomByname(String name);

    /**
     * 查询病房记录
     *
     * @param areaname 病房记录主键
     * @return 病房记录
     */
    public List<MedicalCpoeSickroom> selectMedicalCpoeSickroomByareaname(String areaname);

    /**
     * 查询病房记录列表
     * 
     * @param medicalCpoeSickroom 病房记录
     * @return 病房记录集合
     */
    public List<MedicalCpoeSickroom> selectMedicalCpoeSickroomList(MedicalCpoeSickroom medicalCpoeSickroom);

    /**
     * 查询病房记录列表（床位没装满的房间）
     * @return 病房记录集合
     */
    public List<MedicalCpoeSickroom> selectMedicalCpoeSickroomListBySift();



    /**
     * 根据名字查询病房记录列表（床位没装满的房间）
     * @return 病房记录集合
     */
    public List<MedicalCpoeSickroom> selectMedicalCpoeSickroomListBySiftName(String areaname);

    /**
     * 新增病房记录
     * 
     * @param medicalCpoeSickroom 病房记录
     * @return 结果
     */
    public int insertMedicalCpoeSickroom(MedicalCpoeSickroom medicalCpoeSickroom);

    /**
     * 修改病房记录
     * 
     * @param medicalCpoeSickroom 病房记录
     * @return 结果
     */
    public int updateMedicalCpoeSickroom(MedicalCpoeSickroom medicalCpoeSickroom);

    /**
     * 批量删除病房记录
     * 
     * @param ids 需要删除的病房记录主键集合
     * @return 结果
     */
    public int deleteMedicalCpoeSickroomByIds(String[] ids);

    /**
     * 删除病房记录信息
     * 
     * @param id 病房记录主键
     * @return 结果
     */
    public int deleteMedicalCpoeSickroomById(String id);
}
